package net.zjitc.arrays;

public class Test {
    public static void main(String[] args) {
        int[][] arr = {{0,1},{0,2},{0,0}};
        TriMat triMat = new TriMat();
        triMat.createTriple(arr);
        triMat.getRow();
        triMat.getCol();
        triMat.getList();
        //triMat.getList().size();
        triMat.getCount();

        //将triMat转换成二维数组
        int[][] newArr = triMat.decompression();

        System.out.println(triMat);
    }
}
